

function change(organization_id){

		$.ajax({
			type: "get",
			url: "/organization/checkByPid.action",
			data: "pid="+organization_id,
			datatype : "json",
			success: function(date){

			if(date=="true"){
				window.location.href="organizationDelete.action?organization_id="+organization_id;
			}else{
				alert("该机构存在下属机构，请确认先删除其下属机构！");
			}
			}
			
		});
}
